package com.example.project.volley;
//保存所有的url地址
public class ConstantUtil {


    //服务器IP地址
    public static String SERVER_ADDRESS="192.168.0.119";
//    public static String SERVER_ADDRESS="khrue5.natappfree.cc";
//    http://localhost:8080/tally_war_exploded/
    //端口号
    public static int SERVER_PORT=8080;
//    public static String SERVER_PORT="";
    //登录对应的API接口地址
    public final static  String LOGINAPI="http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/Login/Logins";

    //请求验证码
    public static final String GETEMAIL = "http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/Login/Email";

    //修改密码
    public static final String UPDATAPASS = "http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/Login/UpdatePass";


    //注册时验证对应的API接口地址
    public final static  String CHEKINGAPI="http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/Login/Check";

    //注册对应的API接口地址
    public final static  String REGISTER="http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/Login/Register";

    //获取当月的收入和支出的总金额的API接口地址
    public final static  String MONTHSR="http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/Chart/MonthNum";

    //添加数据对应的API接口地址
    public final static  String Bill="http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/Chart/Bill";
    //或者折线图信息
    public final static  String LineChart="http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/Chart/LineChart";

    //添加支出数据
    public final static  String OutAdd="http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/Account/OutAdd";
    //添加收入数据
    public final static  String InAdd="http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/Account/InAdd";

    //主页显示当日数据对应的API接口地址
    public final static  String List="http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/Account/DayList";

    //删除单个记账信息接口地址
    public final static  String DELECT="http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/Account/Delete";

    //删除单个记账信息接口地址
    public final static  String SelectYear="http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/Account/SelectYear";



    //导出记账信息接口地址
    public static final String EXPORT = "http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/Account/Export";
    //返现用户详情
    public static final String USERINFO ="http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/UserInfo/User";
    //更新用户姓名
    public static final String UPDATENAME ="http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/UserInfo/Update";
    //删除单个记账信息接口地址
    public final static  String MONTHINFO="http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/Chart/MonthInfo";



    //上传图片
    public static final String ImageUpload ="http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/HttpImageUpload";
    //设置对话框
    public static final String UPDATEMONEY ="http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/UserInfo/UpdateMoney";
    //更新money
    public static final String UPDATE ="http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/Chart/UpdateMoney" ;

//    public final static  String User="http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/Login/User";


//    //添加数据对应的API接口地址
//    public final static  String ADDAPI="http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/tally_war_exploded/Add";
//
//
//    //获取今日的收入和支出的总金额的API接口地址
//    public final static  String DAYNUM="http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/tally_war_exploded/DayNum";
//
//    //获取当月的收入和支出的数据的API接口地址
//    public final static  String MONTHLIST="http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/tally_war_exploded/MonthList";
//    //统计某年某月的收支情况数据
    public final static  String MONTHNUM="http://"+SERVER_ADDRESS+":"+SERVER_PORT+"/tally_war_exploded/MonthNum";
//



}
